<rss version="2.0">
<? echo $rss->channel(null,array('title'=>__('Rss feed',true),'description'=>__('Rss feed for news',true).' '.Configure::read('Page.url'))); ?>
<?
	foreach ($news as $data) 
	{		
		echo $rss->item(null,array('title'=>$data['News']['title'],'author'=>$data['User']['name'].' ' . $data['User']['email'],'pubDate'=>$data['News']['created'],'description'=>$data['News']['text'],'guid'=>'/news/'.$time->format('Y/m/d',$data['News']['created']).'/'.$data['News']['seo_link']));
	}
?>
</channel>
</rss>